package com.edu.study.base.stuQuestionPaperRelation.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 题卷和题库的关系对象 stu_question_paper_relation
 * 
 * @author jjt
 * @date 2021-05-29
 */
public class StuQuestionPaperRelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 题卷ID */
    @Excel(name = "题卷ID")
    private Long questionPaperId;

    /** 题卷目录id */
    @Excel(name = "题卷目录id")
    private Long questionCatalogId;

    /** 题型id */
    @Excel(name = "题型id")
    private Long questionKindId;

    /** 题id */
    @Excel(name = "题id")
    private Long questionLibraryId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setQuestionPaperId(Long questionPaperId) 
    {
        this.questionPaperId = questionPaperId;
    }

    public Long getQuestionPaperId() 
    {
        return questionPaperId;
    }
    public void setQuestionCatalogId(Long questionCatalogId) 
    {
        this.questionCatalogId = questionCatalogId;
    }

    public Long getQuestionCatalogId() 
    {
        return questionCatalogId;
    }
    public void setQuestionKindId(Long questionKindId) 
    {
        this.questionKindId = questionKindId;
    }

    public Long getQuestionKindId() 
    {
        return questionKindId;
    }
    public void setQuestionLibraryId(Long questionLibraryId) 
    {
        this.questionLibraryId = questionLibraryId;
    }

    public Long getQuestionLibraryId() 
    {
        return questionLibraryId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("questionPaperId", getQuestionPaperId())
            .append("questionCatalogId", getQuestionCatalogId())
            .append("questionKindId", getQuestionKindId())
            .append("questionLibraryId", getQuestionLibraryId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
